using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace MAPDavy.Entities
{
	public class Seccion
	{
	    public Seccion()
		{
			this.SeccionTutors = new List<SeccionTutor>();
		}

		public int Id { get; set; }
        [Required(ErrorMessage = "Ingresa el Class Name")]
		public string ClassName { get; set; }
		public string Description { get; set; }
		public int GradeId { get; set; }
		public virtual Grade Grade { get; set; }
		public virtual ICollection<SeccionTutor> SeccionTutors { get; set; }
	}
}

